xl2tpd[845]: parse_config: line 13: data 'ipsec sared=yes' occurs with no context
Posted
by
mmc18
on Server Fault
See other posts from Server Fault
or by mmc18
Published on 2012-09-24T07:07:13Z
Indexed on
2012/09/24
9:39 UTC
Read the original article
Hit count: 1092
When I executed xl2tpd I amhaving following error.
# xl2tpd -D
xl2tpd[845]: parse_config: line 13: data 'ipsec sared=yes' occurs with no context
xl2tpd[845]: init: Unable to load config file
When I remove the "line 13" I having same error with "Line 14" thefore I do not think that the problem is about "ipsec sared" Here is my configuration file xl2tpd.conf.
LINUX Ubuntu 12.0.4 ;Openswan IPsec 2.6.37; xl2tpd version: xl2tpd-1.3.1
; [global]
ipsec sared=yes
listen-addr=47.168.137.27
; [lns default]
ip range = 192.168.1.10-192.168.1.20
local ip = 192.168.1.1
require chap = yes
refuse pap = yes
require authentication = yes
ppp debug = yes
pppoptfile = /etc/ppp/options.xl2tpd
length bit = yes
name=LinuxIPSECVPN
ANSWER:(since have not enough reputation I am writting it over here.) removing the ";" character at the beginning of [global] and [lns default] have solved the issue. At fist I tought that [global] and[lns default] were just a comment.
© Server Fault or respective owner